package com.cssy.yd.logic.service;

import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.transaction.annotation.Transactional;
import com.cssy.base.service.IBaseService;
import com.cssy.yd.logic.entity.LogicFkDO;
import com.cssy.yd.logic.entity.LogicFkItemDO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;
import com.yuendong.sy.exception.SyCodeException;

public interface ILogicFkService extends IBaseService<LogicFkDO> {

	public SearchResult findItemListByExample(SearchConditions scs) throws SyBaseException;
	
	public Integer deleteItem(String id) throws SyBaseException;
	
	public Integer updateItem(LogicFkItemDO t) throws SyBaseException;
	
	public LogicFkItemDO saveItem(LogicFkItemDO t) throws SyBaseException;
	
	public LogicFkItemDO findItemListById(String id) throws SyBaseException;
	
	public List<LogicFkItemDO> findItemListByfkid(String fkid) throws SyBaseException;
	
	public Double findLastedDOByExample(SearchConditions scs) throws SyBaseException;
	
	@Transactional
	public void fksave(HttpServletRequest request,LogicFkDO curAP)throws SyBaseException,SyCodeException;
	@Transactional
	public void fkcommit(HttpServletRequest request,LogicFkDO curAP)throws SyBaseException,SyCodeException;
}
